package com.wz.project.scj.ktp.mapper;


import com.wz.project.mydo.domain.MydoJobDetail;
import com.wz.project.mydo.domain.MydoJob;
import org.apache.ibatis.annotations.Mapper;

/**
 * created by qxq on 2021/11/3  11:20
 **/
@Mapper
public interface KTPinMapper {

    /**
     * 空托盘入库作业
     * @param mydoJob
     * @return
     */
    public Integer insretNewJob(MydoJob mydoJob);

    /**
     * 空托盘入库作业详情
     * @param mydoJobDetail
     * @return
     */
    public Integer insretNewJobDetail(MydoJobDetail mydoJobDetail);


    /**
     * 获取当前班组号
     * @param class_now_type
     * @return
     */
    public String getClassNo(String class_now_type);

    /**
     * 根据托盘条码查作业
     */

    public int selectJobByTraycode(String trayCode);

    /**
     * 根据托盘条码查库存
     */
    public int selectStockByTraycode(String trayCode);
}
